package com.ruoyi.system.domain.college.Statistics;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 硕士研究生招生与学位授予统计对象 master_degree_statistics
 * 
 * @author ruoyi
 * @date 2025-11-24
 */
public class MasterDegreeStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID（自增唯一标识） */
    private Integer id;

    /** 统计年度（如：2023、2024） */
    @Excel(name = "统计年度", readConverterExp = "如=：2023、2024")
    private Long year;

    /** 硕士生报考人数 */
    @Excel(name = "硕士生报考人数")
    private Integer masterApplyCount;

    /** 硕士生录取人数 */
    @Excel(name = "硕士生录取人数")
    private Integer masterAdmitCount;

    /** 推免生占比（百分比，如35.25代表35.25%） */
    @Excel(name = "推免生占比", readConverterExp = "百=分比，如35.25代表35.25%")
    private BigDecimal recommendedStudentRatio;

    /** 来自985、211高校学生占比（百分比） */
    @Excel(name = "来自985、211高校学生占比", readConverterExp = "百=分比")
    private BigDecimal doubleFirstClassRatio;

    /** 校外调剂生占比（百分比） */
    @Excel(name = "校外调剂生占比", readConverterExp = "百=分比")
    private BigDecimal offCampusTransferRatio;

    /** 硕士生授予学位人数 */
    @Excel(name = "硕士生授予学位人数")
    private Integer masterDegreeAwardedCount;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }

    public void setMasterApplyCount(Integer masterApplyCount) 
    {
        this.masterApplyCount = masterApplyCount;
    }

    public Integer getMasterApplyCount() 
    {
        return masterApplyCount;
    }

    public void setMasterAdmitCount(Integer masterAdmitCount) 
    {
        this.masterAdmitCount = masterAdmitCount;
    }

    public Integer getMasterAdmitCount() 
    {
        return masterAdmitCount;
    }

    public void setRecommendedStudentRatio(BigDecimal recommendedStudentRatio) 
    {
        this.recommendedStudentRatio = recommendedStudentRatio;
    }

    public BigDecimal getRecommendedStudentRatio() 
    {
        return recommendedStudentRatio;
    }

    public void setDoubleFirstClassRatio(BigDecimal doubleFirstClassRatio) 
    {
        this.doubleFirstClassRatio = doubleFirstClassRatio;
    }

    public BigDecimal getDoubleFirstClassRatio() 
    {
        return doubleFirstClassRatio;
    }

    public void setOffCampusTransferRatio(BigDecimal offCampusTransferRatio) 
    {
        this.offCampusTransferRatio = offCampusTransferRatio;
    }

    public BigDecimal getOffCampusTransferRatio() 
    {
        return offCampusTransferRatio;
    }

    public void setMasterDegreeAwardedCount(Integer masterDegreeAwardedCount) 
    {
        this.masterDegreeAwardedCount = masterDegreeAwardedCount;
    }

    public Integer getMasterDegreeAwardedCount() 
    {
        return masterDegreeAwardedCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("masterApplyCount", getMasterApplyCount())
            .append("masterAdmitCount", getMasterAdmitCount())
            .append("recommendedStudentRatio", getRecommendedStudentRatio())
            .append("doubleFirstClassRatio", getDoubleFirstClassRatio())
            .append("offCampusTransferRatio", getOffCampusTransferRatio())
            .append("masterDegreeAwardedCount", getMasterDegreeAwardedCount())
            .toString();
    }
}
